export default {
  moduleClientRoute: {    //路由属性
    state: {
      UserInfo:{},   //用户信息
      ScavengingID:'',  //扫码ID
      UserID:'', //  Boss 储存用户ID 查看用户列表
      SaoMaList:{},  //总管理员查看扫码列表
    },
    mutations: {
      SetUserInfo(state, flag) {//设置用戶详情
        state.UserInfo = flag
      },
      SetScavengingID(state, flag) {// 设置扫码ID
        state.ScavengingID = flag
      },
      SetUserID(state, flag){
        state.UserID = flag
      },
      SetSaoMaList(state, flag){
        state.SaoMaList = flag
      },

    },
    actions: {},
    getters: {
      GetUserInfo: state => {   //获取用戶详情
        return state.UserInfo;
      },
      GetScavengingID: state => {   // 获取扫码ID
        return state.ScavengingID;
      },
      GetUserID: state => {
        return state.UserID;
      },
      GetSaoMaList: state => {
        return state.SaoMaList;
      },

    }
  },


  moduleClientarray: {//  存放数组
    state: {},
    mutations: {},
    actions: {},
    getters: {}
  },
}



